package com.itheima.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-08-03 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="t_study_video" )
public class StudyVideo  implements Serializable {

	private static final long serialVersionUID =  1542115015529792116L;

	/**
	 * 唯一uid
	 */
   	@Column(name = "uid" )
	@Id
	private String uid;

	/**
	 * 视频封面图片uid
	 */
   	@Column(name = "file_uid" )
	private String fileUid;

	/**
	 * 资源分类UID
	 */
   	@Column(name = "resource_sort_uid" )
	private String resourceSortUid;

	/**
	 * 视频名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 视频简介
	 */
   	@Column(name = "summary" )
	private String summary;

	/**
	 * 分类介绍
	 */
   	@Column(name = "content" )
	private String content;

	/**
	 * 百度云完整路径
	 */
   	@Column(name = "baidu_path" )
	private String baiduPath;

	/**
	 * 点击数
	 */
   	@Column(name = "click_count" )
	private String clickCount;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Integer status;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

   	@Column(name = "parent_uid" )
	private String parentUid;

}
